package top.yxqz.spring.ts.pojo;

/**
 * @author: 余小小
 * @date: 2023/4/18
 * @description：
 */
public class BookUser {
    private String username;
    private Integer balance;

    public BookUser() {
    }

    public BookUser(String username, Integer balance) {
        this.username = username;
        this.balance = balance;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return balance
     */
    public Integer getBalance() {
        return balance;
    }

    /**
     * 设置
     * @param balance
     */
    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String toString() {
        return "BookUser{username = " + username + ", balance = " + balance + "}";
    }
}
